Skip to content

Add funding card and backer tooltips to consciousness hero - #1310

Merged
yattias merged 1 commit into
mainfrom
claude/consciousness-nonprofit-line
Nov 19, 2026
Merged

yattias merged 1 commit into
mainfrom
claude/consciousness-nonprofit-line

Conversation

@yattias

@yattias yattias commented Nov 19, 2026

Copy link
Copy Markdown
Member

Summary

  • Groups everything under the /consciousness hero paragraph into one card: amount raised, a two-part track ("Phase 1 - Raising", "Phase 2 - Experiments"), backers, the two buttons, and a "Contributions are tax deductible" footer. HeroCard replaces HeroPhase.
  • Shows the same line in the funding sidebar, only when the landing page is on the campaign RFP. It stays hidden on ?rfp= previews of other RFPs, and other RFP pages never render it.
  • Backer faces link to the backer's profile and show the author tooltip on hover. The "Top backers" list gets the same tooltips.
  • AuthorTooltip now stays within the screen edges when placed above or below its target. This is a shared component, so it applies site-wide.

Before merging

The tax wording needs finance or counsel approval. "Contributions are tax deductible" is an unqualified claim. Please confirm it matches how pool contributions are received and receipted.

New network request

Hovering a backer calls GET /api/author/{id}/minimal_overview/ (public endpoint) after the tooltip's 500ms delay.

Notes

  • The hero and pool panel can show up to 10 faces, and the bottom bar shows 4. The API returns at most 5 backers today (get_contributors_summary), so 5 is the most that will appear. No backend change is included.

Testing

  • tsc, ESLint and Prettier pass.
  • Checked locally with saved RFP data padded to 12 test backers: desktop, 375px and 320px widths, no sideways overflow, tooltip placement at the first and last face, tooltip closing on mouse leave, and the bottom bar appearing on scroll.
  • Sidebar checked on the campaign RFP (line present) and a stand-in for another RFP (line absent).
  • Every local tooltip used the same test author, so real profile content in the tooltip was not checked. No donation was made.

🤖 Generated with Claude Code

Group the amount raised, phase track, backers, buttons and tax line into
one card under the hero paragraph, replacing HeroPhase.

Show "Contributions are tax deductible" in the funding sidebar only for
the campaign RFP. Backer faces now link to profiles and show the author
tooltip on hover. AuthorTooltip stays within the screen edges when placed
above or below its target.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@yattias
yattias requested a review from a team as a code owner November 19, 2026 01:15
@vercel

vercel Bot commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
web Building Building Preview Nov 19, 2026 1:15am UTC

Request Review

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-19T01:15:16.163708Z
We couldn’t complete this review. Comment @codex review to try again.
67314b5 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@sonarqubecloud

Copy link
Copy Markdown

@yattias
yattias merged commit a78072a into main Nov 19, 2026
3 of 4 checks passed
@yattias
yattias deleted the claude/consciousness-nonprofit-line branch November 19, 2026 01:16

This branch was successfully deployed

1 active deployment
Preview — 67314b57 Deployed Nov 19, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant